Release 10.1A: OpenEdge Development:
Progress Dynamics Administration
Generic comments
Throughout an application, the ability to attach memos or comments to various data records in the application might be required. As this functionality can be required on one or many of the tables in an application, a generic method is available to accomplish the storing of additional information against a record, such as comments or memos. Using the Generic Comments feature, this functionality is available on all tables in an application without any application database or code changes.
The Comments functionality is added to the standard ADM2 and is therefore generically available throughout any application built using the framework. For more information, see OpenEdge Development: ADM Reference . The use of Generic Comments on a table requires that one or more fields in a unique index uniquely identify a record.
Adding comments to a record
Comments provide an invaluable record for future reference.
![]()
To add comments to a record:
- Open a control window with a browse containing the record you want to comment, For example, from the Application menu, open the Language Control window, as shown:
![]()
- Choose Comments
in the browser toolbar or choose File
Comments from the menu bar. The Comments Control window appears, as shown:
![]()
- In the Comments Control window, choose Add record
on the toolbar. The fields in the Details folder are enabled, as shown:
![]()
- Fill in the fields in the Details tab. Use the online help for descriptions of each of these fields.
- Choose Save. The new comment appears in the Comments Control browse, as shown:
![]()
Accessing a commented record
You can review a comment by triggering
AutoDisplay.
![]()
To trigger the
AutoDisplayof a comment on a record:
- Select the record in the browse, as shown:
Note: The Comments button on the browse toolbar displays with a red check mark when you select a record with a comment.
![]()
- If you open the record for viewing a Comment information box appears, as shown:
![]()
- After dismissing the Comment information box, the viewer appears displaying the record, as shown:
![]()
If you modify the record in the viewer, the same comment box appears when you save the changes.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |